package com.macro.mall.tiny.modules.pms.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.tiny.modules.pms.dto.ProductSkuQueryParam;
import com.macro.mall.tiny.modules.pms.model.ProductSku;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ProductSkuMapper extends BaseMapper<ProductSku> {
    /**
     * 分页查询商品SKU(支持属性值查询)
     */
    Page<ProductSku> selectWithAttrValue(Page<ProductSku> page, @Param("queryParam") ProductSkuQueryParam queryParam);

}
